package com.zhongwang.mms.gen.entity;

import java.util.ArrayList;
import java.util.List;

public class MCheckDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MCheckDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCdlIdIsNull() {
            addCriterion("cdl_id is null");
            return (Criteria) this;
        }

        public Criteria andCdlIdIsNotNull() {
            addCriterion("cdl_id is not null");
            return (Criteria) this;
        }

        public Criteria andCdlIdEqualTo(Integer value) {
            addCriterion("cdl_id =", value, "cdlId");
            return (Criteria) this;
        }

        public Criteria andCdlIdNotEqualTo(Integer value) {
            addCriterion("cdl_id <>", value, "cdlId");
            return (Criteria) this;
        }

        public Criteria andCdlIdGreaterThan(Integer value) {
            addCriterion("cdl_id >", value, "cdlId");
            return (Criteria) this;
        }

        public Criteria andCdlIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("cdl_id >=", value, "cdlId");
            return (Criteria) this;
        }

        public Criteria andCdlIdLessThan(Integer value) {
            addCriterion("cdl_id <", value, "cdlId");
            return (Criteria) this;
        }

        public Criteria andCdlIdLessThanOrEqualTo(Integer value) {
            addCriterion("cdl_id <=", value, "cdlId");
            return (Criteria) this;
        }

        public Criteria andCdlIdIn(List<Integer> values) {
            addCriterion("cdl_id in", values, "cdlId");
            return (Criteria) this;
        }

        public Criteria andCdlIdNotIn(List<Integer> values) {
            addCriterion("cdl_id not in", values, "cdlId");
            return (Criteria) this;
        }

        public Criteria andCdlIdBetween(Integer value1, Integer value2) {
            addCriterion("cdl_id between", value1, value2, "cdlId");
            return (Criteria) this;
        }

        public Criteria andCdlIdNotBetween(Integer value1, Integer value2) {
            addCriterion("cdl_id not between", value1, value2, "cdlId");
            return (Criteria) this;
        }

        public Criteria andCdlItyNumIsNull() {
            addCriterion("cdl_ity_num is null");
            return (Criteria) this;
        }

        public Criteria andCdlItyNumIsNotNull() {
            addCriterion("cdl_ity_num is not null");
            return (Criteria) this;
        }

        public Criteria andCdlItyNumEqualTo(Double value) {
            addCriterion("cdl_ity_num =", value, "cdlItyNum");
            return (Criteria) this;
        }

        public Criteria andCdlItyNumNotEqualTo(Double value) {
            addCriterion("cdl_ity_num <>", value, "cdlItyNum");
            return (Criteria) this;
        }

        public Criteria andCdlItyNumGreaterThan(Double value) {
            addCriterion("cdl_ity_num >", value, "cdlItyNum");
            return (Criteria) this;
        }

        public Criteria andCdlItyNumGreaterThanOrEqualTo(Double value) {
            addCriterion("cdl_ity_num >=", value, "cdlItyNum");
            return (Criteria) this;
        }

        public Criteria andCdlItyNumLessThan(Double value) {
            addCriterion("cdl_ity_num <", value, "cdlItyNum");
            return (Criteria) this;
        }

        public Criteria andCdlItyNumLessThanOrEqualTo(Double value) {
            addCriterion("cdl_ity_num <=", value, "cdlItyNum");
            return (Criteria) this;
        }

        public Criteria andCdlItyNumIn(List<Double> values) {
            addCriterion("cdl_ity_num in", values, "cdlItyNum");
            return (Criteria) this;
        }

        public Criteria andCdlItyNumNotIn(List<Double> values) {
            addCriterion("cdl_ity_num not in", values, "cdlItyNum");
            return (Criteria) this;
        }

        public Criteria andCdlItyNumBetween(Double value1, Double value2) {
            addCriterion("cdl_ity_num between", value1, value2, "cdlItyNum");
            return (Criteria) this;
        }

        public Criteria andCdlItyNumNotBetween(Double value1, Double value2) {
            addCriterion("cdl_ity_num not between", value1, value2, "cdlItyNum");
            return (Criteria) this;
        }

        public Criteria andCdlItyWeightIsNull() {
            addCriterion("cdl_ity_weight is null");
            return (Criteria) this;
        }

        public Criteria andCdlItyWeightIsNotNull() {
            addCriterion("cdl_ity_weight is not null");
            return (Criteria) this;
        }

        public Criteria andCdlItyWeightEqualTo(Double value) {
            addCriterion("cdl_ity_weight =", value, "cdlItyWeight");
            return (Criteria) this;
        }

        public Criteria andCdlItyWeightNotEqualTo(Double value) {
            addCriterion("cdl_ity_weight <>", value, "cdlItyWeight");
            return (Criteria) this;
        }

        public Criteria andCdlItyWeightGreaterThan(Double value) {
            addCriterion("cdl_ity_weight >", value, "cdlItyWeight");
            return (Criteria) this;
        }

        public Criteria andCdlItyWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("cdl_ity_weight >=", value, "cdlItyWeight");
            return (Criteria) this;
        }

        public Criteria andCdlItyWeightLessThan(Double value) {
            addCriterion("cdl_ity_weight <", value, "cdlItyWeight");
            return (Criteria) this;
        }

        public Criteria andCdlItyWeightLessThanOrEqualTo(Double value) {
            addCriterion("cdl_ity_weight <=", value, "cdlItyWeight");
            return (Criteria) this;
        }

        public Criteria andCdlItyWeightIn(List<Double> values) {
            addCriterion("cdl_ity_weight in", values, "cdlItyWeight");
            return (Criteria) this;
        }

        public Criteria andCdlItyWeightNotIn(List<Double> values) {
            addCriterion("cdl_ity_weight not in", values, "cdlItyWeight");
            return (Criteria) this;
        }

        public Criteria andCdlItyWeightBetween(Double value1, Double value2) {
            addCriterion("cdl_ity_weight between", value1, value2, "cdlItyWeight");
            return (Criteria) this;
        }

        public Criteria andCdlItyWeightNotBetween(Double value1, Double value2) {
            addCriterion("cdl_ity_weight not between", value1, value2, "cdlItyWeight");
            return (Criteria) this;
        }

        public Criteria andCdlNumIsNull() {
            addCriterion("cdl_num is null");
            return (Criteria) this;
        }

        public Criteria andCdlNumIsNotNull() {
            addCriterion("cdl_num is not null");
            return (Criteria) this;
        }

        public Criteria andCdlNumEqualTo(Double value) {
            addCriterion("cdl_num =", value, "cdlNum");
            return (Criteria) this;
        }

        public Criteria andCdlNumNotEqualTo(Double value) {
            addCriterion("cdl_num <>", value, "cdlNum");
            return (Criteria) this;
        }

        public Criteria andCdlNumGreaterThan(Double value) {
            addCriterion("cdl_num >", value, "cdlNum");
            return (Criteria) this;
        }

        public Criteria andCdlNumGreaterThanOrEqualTo(Double value) {
            addCriterion("cdl_num >=", value, "cdlNum");
            return (Criteria) this;
        }

        public Criteria andCdlNumLessThan(Double value) {
            addCriterion("cdl_num <", value, "cdlNum");
            return (Criteria) this;
        }

        public Criteria andCdlNumLessThanOrEqualTo(Double value) {
            addCriterion("cdl_num <=", value, "cdlNum");
            return (Criteria) this;
        }

        public Criteria andCdlNumIn(List<Double> values) {
            addCriterion("cdl_num in", values, "cdlNum");
            return (Criteria) this;
        }

        public Criteria andCdlNumNotIn(List<Double> values) {
            addCriterion("cdl_num not in", values, "cdlNum");
            return (Criteria) this;
        }

        public Criteria andCdlNumBetween(Double value1, Double value2) {
            addCriterion("cdl_num between", value1, value2, "cdlNum");
            return (Criteria) this;
        }

        public Criteria andCdlNumNotBetween(Double value1, Double value2) {
            addCriterion("cdl_num not between", value1, value2, "cdlNum");
            return (Criteria) this;
        }

        public Criteria andCdlWeightIsNull() {
            addCriterion("cdl_weight is null");
            return (Criteria) this;
        }

        public Criteria andCdlWeightIsNotNull() {
            addCriterion("cdl_weight is not null");
            return (Criteria) this;
        }

        public Criteria andCdlWeightEqualTo(Double value) {
            addCriterion("cdl_weight =", value, "cdlWeight");
            return (Criteria) this;
        }

        public Criteria andCdlWeightNotEqualTo(Double value) {
            addCriterion("cdl_weight <>", value, "cdlWeight");
            return (Criteria) this;
        }

        public Criteria andCdlWeightGreaterThan(Double value) {
            addCriterion("cdl_weight >", value, "cdlWeight");
            return (Criteria) this;
        }

        public Criteria andCdlWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("cdl_weight >=", value, "cdlWeight");
            return (Criteria) this;
        }

        public Criteria andCdlWeightLessThan(Double value) {
            addCriterion("cdl_weight <", value, "cdlWeight");
            return (Criteria) this;
        }

        public Criteria andCdlWeightLessThanOrEqualTo(Double value) {
            addCriterion("cdl_weight <=", value, "cdlWeight");
            return (Criteria) this;
        }

        public Criteria andCdlWeightIn(List<Double> values) {
            addCriterion("cdl_weight in", values, "cdlWeight");
            return (Criteria) this;
        }

        public Criteria andCdlWeightNotIn(List<Double> values) {
            addCriterion("cdl_weight not in", values, "cdlWeight");
            return (Criteria) this;
        }

        public Criteria andCdlWeightBetween(Double value1, Double value2) {
            addCriterion("cdl_weight between", value1, value2, "cdlWeight");
            return (Criteria) this;
        }

        public Criteria andCdlWeightNotBetween(Double value1, Double value2) {
            addCriterion("cdl_weight not between", value1, value2, "cdlWeight");
            return (Criteria) this;
        }

        public Criteria andCdlCheckStatusIsNull() {
            addCriterion("cdl_check_status is null");
            return (Criteria) this;
        }

        public Criteria andCdlCheckStatusIsNotNull() {
            addCriterion("cdl_check_status is not null");
            return (Criteria) this;
        }

        public Criteria andCdlCheckStatusEqualTo(Integer value) {
            addCriterion("cdl_check_status =", value, "cdlCheckStatus");
            return (Criteria) this;
        }

        public Criteria andCdlCheckStatusNotEqualTo(Integer value) {
            addCriterion("cdl_check_status <>", value, "cdlCheckStatus");
            return (Criteria) this;
        }

        public Criteria andCdlCheckStatusGreaterThan(Integer value) {
            addCriterion("cdl_check_status >", value, "cdlCheckStatus");
            return (Criteria) this;
        }

        public Criteria andCdlCheckStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("cdl_check_status >=", value, "cdlCheckStatus");
            return (Criteria) this;
        }

        public Criteria andCdlCheckStatusLessThan(Integer value) {
            addCriterion("cdl_check_status <", value, "cdlCheckStatus");
            return (Criteria) this;
        }

        public Criteria andCdlCheckStatusLessThanOrEqualTo(Integer value) {
            addCriterion("cdl_check_status <=", value, "cdlCheckStatus");
            return (Criteria) this;
        }

        public Criteria andCdlCheckStatusIn(List<Integer> values) {
            addCriterion("cdl_check_status in", values, "cdlCheckStatus");
            return (Criteria) this;
        }

        public Criteria andCdlCheckStatusNotIn(List<Integer> values) {
            addCriterion("cdl_check_status not in", values, "cdlCheckStatus");
            return (Criteria) this;
        }

        public Criteria andCdlCheckStatusBetween(Integer value1, Integer value2) {
            addCriterion("cdl_check_status between", value1, value2, "cdlCheckStatus");
            return (Criteria) this;
        }

        public Criteria andCdlCheckStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("cdl_check_status not between", value1, value2, "cdlCheckStatus");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeNumIsNull() {
            addCriterion("cdl_before_num is null");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeNumIsNotNull() {
            addCriterion("cdl_before_num is not null");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeNumEqualTo(Double value) {
            addCriterion("cdl_before_num =", value, "cdlBeforeNum");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeNumNotEqualTo(Double value) {
            addCriterion("cdl_before_num <>", value, "cdlBeforeNum");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeNumGreaterThan(Double value) {
            addCriterion("cdl_before_num >", value, "cdlBeforeNum");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeNumGreaterThanOrEqualTo(Double value) {
            addCriterion("cdl_before_num >=", value, "cdlBeforeNum");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeNumLessThan(Double value) {
            addCriterion("cdl_before_num <", value, "cdlBeforeNum");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeNumLessThanOrEqualTo(Double value) {
            addCriterion("cdl_before_num <=", value, "cdlBeforeNum");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeNumIn(List<Double> values) {
            addCriterion("cdl_before_num in", values, "cdlBeforeNum");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeNumNotIn(List<Double> values) {
            addCriterion("cdl_before_num not in", values, "cdlBeforeNum");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeNumBetween(Double value1, Double value2) {
            addCriterion("cdl_before_num between", value1, value2, "cdlBeforeNum");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeNumNotBetween(Double value1, Double value2) {
            addCriterion("cdl_before_num not between", value1, value2, "cdlBeforeNum");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeWeightIsNull() {
            addCriterion("cdl_before_weight is null");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeWeightIsNotNull() {
            addCriterion("cdl_before_weight is not null");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeWeightEqualTo(Double value) {
            addCriterion("cdl_before_weight =", value, "cdlBeforeWeight");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeWeightNotEqualTo(Double value) {
            addCriterion("cdl_before_weight <>", value, "cdlBeforeWeight");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeWeightGreaterThan(Double value) {
            addCriterion("cdl_before_weight >", value, "cdlBeforeWeight");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("cdl_before_weight >=", value, "cdlBeforeWeight");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeWeightLessThan(Double value) {
            addCriterion("cdl_before_weight <", value, "cdlBeforeWeight");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeWeightLessThanOrEqualTo(Double value) {
            addCriterion("cdl_before_weight <=", value, "cdlBeforeWeight");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeWeightIn(List<Double> values) {
            addCriterion("cdl_before_weight in", values, "cdlBeforeWeight");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeWeightNotIn(List<Double> values) {
            addCriterion("cdl_before_weight not in", values, "cdlBeforeWeight");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeWeightBetween(Double value1, Double value2) {
            addCriterion("cdl_before_weight between", value1, value2, "cdlBeforeWeight");
            return (Criteria) this;
        }

        public Criteria andCdlBeforeWeightNotBetween(Double value1, Double value2) {
            addCriterion("cdl_before_weight not between", value1, value2, "cdlBeforeWeight");
            return (Criteria) this;
        }

        public Criteria andCdlStatusIsNull() {
            addCriterion("cdl_status is null");
            return (Criteria) this;
        }

        public Criteria andCdlStatusIsNotNull() {
            addCriterion("cdl_status is not null");
            return (Criteria) this;
        }

        public Criteria andCdlStatusEqualTo(Integer value) {
            addCriterion("cdl_status =", value, "cdlStatus");
            return (Criteria) this;
        }

        public Criteria andCdlStatusNotEqualTo(Integer value) {
            addCriterion("cdl_status <>", value, "cdlStatus");
            return (Criteria) this;
        }

        public Criteria andCdlStatusGreaterThan(Integer value) {
            addCriterion("cdl_status >", value, "cdlStatus");
            return (Criteria) this;
        }

        public Criteria andCdlStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("cdl_status >=", value, "cdlStatus");
            return (Criteria) this;
        }

        public Criteria andCdlStatusLessThan(Integer value) {
            addCriterion("cdl_status <", value, "cdlStatus");
            return (Criteria) this;
        }

        public Criteria andCdlStatusLessThanOrEqualTo(Integer value) {
            addCriterion("cdl_status <=", value, "cdlStatus");
            return (Criteria) this;
        }

        public Criteria andCdlStatusIn(List<Integer> values) {
            addCriterion("cdl_status in", values, "cdlStatus");
            return (Criteria) this;
        }

        public Criteria andCdlStatusNotIn(List<Integer> values) {
            addCriterion("cdl_status not in", values, "cdlStatus");
            return (Criteria) this;
        }

        public Criteria andCdlStatusBetween(Integer value1, Integer value2) {
            addCriterion("cdl_status between", value1, value2, "cdlStatus");
            return (Criteria) this;
        }

        public Criteria andCdlStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("cdl_status not between", value1, value2, "cdlStatus");
            return (Criteria) this;
        }

        public Criteria andCdlCpnIdIsNull() {
            addCriterion("cdl_cpn_id is null");
            return (Criteria) this;
        }

        public Criteria andCdlCpnIdIsNotNull() {
            addCriterion("cdl_cpn_id is not null");
            return (Criteria) this;
        }

        public Criteria andCdlCpnIdEqualTo(Integer value) {
            addCriterion("cdl_cpn_id =", value, "cdlCpnId");
            return (Criteria) this;
        }

        public Criteria andCdlCpnIdNotEqualTo(Integer value) {
            addCriterion("cdl_cpn_id <>", value, "cdlCpnId");
            return (Criteria) this;
        }

        public Criteria andCdlCpnIdGreaterThan(Integer value) {
            addCriterion("cdl_cpn_id >", value, "cdlCpnId");
            return (Criteria) this;
        }

        public Criteria andCdlCpnIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("cdl_cpn_id >=", value, "cdlCpnId");
            return (Criteria) this;
        }

        public Criteria andCdlCpnIdLessThan(Integer value) {
            addCriterion("cdl_cpn_id <", value, "cdlCpnId");
            return (Criteria) this;
        }

        public Criteria andCdlCpnIdLessThanOrEqualTo(Integer value) {
            addCriterion("cdl_cpn_id <=", value, "cdlCpnId");
            return (Criteria) this;
        }

        public Criteria andCdlCpnIdIn(List<Integer> values) {
            addCriterion("cdl_cpn_id in", values, "cdlCpnId");
            return (Criteria) this;
        }

        public Criteria andCdlCpnIdNotIn(List<Integer> values) {
            addCriterion("cdl_cpn_id not in", values, "cdlCpnId");
            return (Criteria) this;
        }

        public Criteria andCdlCpnIdBetween(Integer value1, Integer value2) {
            addCriterion("cdl_cpn_id between", value1, value2, "cdlCpnId");
            return (Criteria) this;
        }

        public Criteria andCdlCpnIdNotBetween(Integer value1, Integer value2) {
            addCriterion("cdl_cpn_id not between", value1, value2, "cdlCpnId");
            return (Criteria) this;
        }

        public Criteria andCdlMatIdIsNull() {
            addCriterion("cdl_mat_id is null");
            return (Criteria) this;
        }

        public Criteria andCdlMatIdIsNotNull() {
            addCriterion("cdl_mat_id is not null");
            return (Criteria) this;
        }

        public Criteria andCdlMatIdEqualTo(Integer value) {
            addCriterion("cdl_mat_id =", value, "cdlMatId");
            return (Criteria) this;
        }

        public Criteria andCdlMatIdNotEqualTo(Integer value) {
            addCriterion("cdl_mat_id <>", value, "cdlMatId");
            return (Criteria) this;
        }

        public Criteria andCdlMatIdGreaterThan(Integer value) {
            addCriterion("cdl_mat_id >", value, "cdlMatId");
            return (Criteria) this;
        }

        public Criteria andCdlMatIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("cdl_mat_id >=", value, "cdlMatId");
            return (Criteria) this;
        }

        public Criteria andCdlMatIdLessThan(Integer value) {
            addCriterion("cdl_mat_id <", value, "cdlMatId");
            return (Criteria) this;
        }

        public Criteria andCdlMatIdLessThanOrEqualTo(Integer value) {
            addCriterion("cdl_mat_id <=", value, "cdlMatId");
            return (Criteria) this;
        }

        public Criteria andCdlMatIdIn(List<Integer> values) {
            addCriterion("cdl_mat_id in", values, "cdlMatId");
            return (Criteria) this;
        }

        public Criteria andCdlMatIdNotIn(List<Integer> values) {
            addCriterion("cdl_mat_id not in", values, "cdlMatId");
            return (Criteria) this;
        }

        public Criteria andCdlMatIdBetween(Integer value1, Integer value2) {
            addCriterion("cdl_mat_id between", value1, value2, "cdlMatId");
            return (Criteria) this;
        }

        public Criteria andCdlMatIdNotBetween(Integer value1, Integer value2) {
            addCriterion("cdl_mat_id not between", value1, value2, "cdlMatId");
            return (Criteria) this;
        }

        public Criteria andCdlPriceIsNull() {
            addCriterion("cdl_price is null");
            return (Criteria) this;
        }

        public Criteria andCdlPriceIsNotNull() {
            addCriterion("cdl_price is not null");
            return (Criteria) this;
        }

        public Criteria andCdlPriceEqualTo(Double value) {
            addCriterion("cdl_price =", value, "cdlPrice");
            return (Criteria) this;
        }

        public Criteria andCdlPriceNotEqualTo(Double value) {
            addCriterion("cdl_price <>", value, "cdlPrice");
            return (Criteria) this;
        }

        public Criteria andCdlPriceGreaterThan(Double value) {
            addCriterion("cdl_price >", value, "cdlPrice");
            return (Criteria) this;
        }

        public Criteria andCdlPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("cdl_price >=", value, "cdlPrice");
            return (Criteria) this;
        }

        public Criteria andCdlPriceLessThan(Double value) {
            addCriterion("cdl_price <", value, "cdlPrice");
            return (Criteria) this;
        }

        public Criteria andCdlPriceLessThanOrEqualTo(Double value) {
            addCriterion("cdl_price <=", value, "cdlPrice");
            return (Criteria) this;
        }

        public Criteria andCdlPriceIn(List<Double> values) {
            addCriterion("cdl_price in", values, "cdlPrice");
            return (Criteria) this;
        }

        public Criteria andCdlPriceNotIn(List<Double> values) {
            addCriterion("cdl_price not in", values, "cdlPrice");
            return (Criteria) this;
        }

        public Criteria andCdlPriceBetween(Double value1, Double value2) {
            addCriterion("cdl_price between", value1, value2, "cdlPrice");
            return (Criteria) this;
        }

        public Criteria andCdlPriceNotBetween(Double value1, Double value2) {
            addCriterion("cdl_price not between", value1, value2, "cdlPrice");
            return (Criteria) this;
        }

        public Criteria andCdlIsNewFlagIsNull() {
            addCriterion("cdl_is_new_flag is null");
            return (Criteria) this;
        }

        public Criteria andCdlIsNewFlagIsNotNull() {
            addCriterion("cdl_is_new_flag is not null");
            return (Criteria) this;
        }

        public Criteria andCdlIsNewFlagEqualTo(Integer value) {
            addCriterion("cdl_is_new_flag =", value, "cdlIsNewFlag");
            return (Criteria) this;
        }

        public Criteria andCdlIsNewFlagNotEqualTo(Integer value) {
            addCriterion("cdl_is_new_flag <>", value, "cdlIsNewFlag");
            return (Criteria) this;
        }

        public Criteria andCdlIsNewFlagGreaterThan(Integer value) {
            addCriterion("cdl_is_new_flag >", value, "cdlIsNewFlag");
            return (Criteria) this;
        }

        public Criteria andCdlIsNewFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("cdl_is_new_flag >=", value, "cdlIsNewFlag");
            return (Criteria) this;
        }

        public Criteria andCdlIsNewFlagLessThan(Integer value) {
            addCriterion("cdl_is_new_flag <", value, "cdlIsNewFlag");
            return (Criteria) this;
        }

        public Criteria andCdlIsNewFlagLessThanOrEqualTo(Integer value) {
            addCriterion("cdl_is_new_flag <=", value, "cdlIsNewFlag");
            return (Criteria) this;
        }

        public Criteria andCdlIsNewFlagIn(List<Integer> values) {
            addCriterion("cdl_is_new_flag in", values, "cdlIsNewFlag");
            return (Criteria) this;
        }

        public Criteria andCdlIsNewFlagNotIn(List<Integer> values) {
            addCriterion("cdl_is_new_flag not in", values, "cdlIsNewFlag");
            return (Criteria) this;
        }

        public Criteria andCdlIsNewFlagBetween(Integer value1, Integer value2) {
            addCriterion("cdl_is_new_flag between", value1, value2, "cdlIsNewFlag");
            return (Criteria) this;
        }

        public Criteria andCdlIsNewFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("cdl_is_new_flag not between", value1, value2, "cdlIsNewFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}